<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Sys Constants
|--------------------------------------------------------------------------
*/
define('WEB_NAME',      	'Too Cool for School');
define('WEB_DESC',      	'韩国新锐化妆品品牌 Too Cool for School 是受女性关注度高且个性洋溢的化妆产品。Too Cool for School 是可爱的、个性鲜明的、新兴化妆品牌，始终追求更特别的存在方式。');
define('WEB_KEYWORDS',     	'Too Cool for School, 来自星星的你, 化妆品, 韩国化妆品, 鸡蛋面膜, 彩妆, 韩国, BB霜, CC霜');
define('WEB_URL',       	'http://www.tcfschina.com');
define('WEB_COPYRIGHT', 	'Copyright 2013 ~ 2014 tgfschina.com Inc. All rights reserved. <br>沪ICP备11031807号-6');
define('WEB_THEME',     	'default');
define('WEB_VERSION',   	'v1.0');


define('JS_VERSION',    '131227');
define('CSS_VERSION',   '131227');

/*
|--------------------------------------------------------------------------
| Domain Constants
|--------------------------------------------------------------------------
*/
define('DOMAIN',        'http://www.tcfschina.com/');
define('JS_DOMAIN',     'http://www.tcfschina.com/theme/'.WEB_THEME.'/js/');
define('CSS_DOMAIN',    'http://www.tcfschina.com/theme/'.WEB_THEME.'/css/');
define('IMG_DOMAIN',    'http://www.tcfschina.com/theme/'.WEB_THEME.'/image/');
define('SWF_DOMAIN',    'http://www.tcfschina.com/theme/'.WEB_THEME.'/swf/');
define('DATA_DOMAIN',   'http://www.tcfschina.com/data/');

/*
|--------------------------------------------------------------------------
| File System Constants
|--------------------------------------------------------------------------
*/
define('DATA_PATH', FCPATH.'data/');

/*
|--------------------------------------------------------------------------
| CI File System Constants
|--------------------------------------------------------------------------
*/
define('FILE_READ_MODE', 0644);
define('FILE_WRITE_MODE', 0666);
define('DIR_READ_MODE', 0755);
define('DIR_WRITE_MODE', 0777);

define('FOPEN_READ',                            'rb');
define('FOPEN_READ_WRITE',                      'r+b');
define('FOPEN_WRITE_CREATE_DESTRUCTIVE',        'wb'); // truncates existing file data, use with care
define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE',   'w+b'); // truncates existing file data, use with care
define('FOPEN_WRITE_CREATE',                    'ab');
define('FOPEN_READ_WRITE_CREATE',               'a+b');
define('FOPEN_WRITE_CREATE_STRICT',             'xb');
define('FOPEN_READ_WRITE_CREATE_STRICT',        'x+b');

/*
|--------------------------------------------------------------------------
| 所有表 删除状态
|--------------------------------------------------------------------------
*/
define('DELETED',   'Y');
define('UNDELETED', 'N');

/*
|--------------------------------------------------------------------------
| Brand 表
|--------------------------------------------------------------------------
*/
define('BRAND_STATUS_ON',       1);
define('BRAND_STATUS_OFF',      99);

/*
|--------------------------------------------------------------------------
| Category 表
|--------------------------------------------------------------------------
*/
define('CATEGORY_STATUS_ON',   1);
define('CATEGORY_STATUS_OFF',  99);

define('CATEGORY_MAX_DEPTH',   2);	// 分类最多层级，最少为1层

/*
|--------------------------------------------------------------------------
| Goods 表
|--------------------------------------------------------------------------
*/
define('GOODS_STATUS_ON',   1);
define('GOODS_STATUS_OFF',  99);
define('GOODS_TYPE_NORMAL',   1); //普通商品
define('GOODS_DESC_TYPE_NORMAL',   1); //普通描述

/*
|--------------------------------------------------------------------------
| 默认分页数字
|--------------------------------------------------------------------------
*/
define('DEFAULT_PAGESIZE',   8);

/*
|--------------------------------------------------------------------------
| Comment 表
|--------------------------------------------------------------------------
*/
define('COMMENT_STATUS_WAIT', 1);
define('COMMENT_STATUS_ON',   2);
define('COMMENT_STATUS_OFF',  99);

/*
|--------------------------------------------------------------------------
| Trend 表
|--------------------------------------------------------------------------
*/
define('TREND_STATUS_ON', 1);
define('TREND_STATUS_OFF',  99);

/*
|--------------------------------------------------------------------------
| Beauty 表
|--------------------------------------------------------------------------
*/
define('BEAUTY_STATUS_ON',  1);
define('BEAUTY_STATUS_OFF', 99);

/*
|--------------------------------------------------------------------------
| Attr_value 表
|--------------------------------------------------------------------------
*/
define('ATTR_VALUE_STATUS_ON',   1);
define('ATTR_VALUE_STATUS_OFF',  99);

/* End of file constants.php */
/* Location: ./application/config/constants.php */